<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta name="Content-Type" content="text/html; charset=UTF-8" />
<title>Class: Sass::Tree::ExtendNode</title>
<link rel="stylesheet" href="style.css" tppabs="http://sass-lang.com/docs/yardoc/css/style.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="common.css" tppabs="http://sass-lang.com/docs/yardoc/css/common.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  relpath = '../..';
  if (relpath != '') relpath += '/';
</script>
<script type="text/javascript" charset="utf-8" src="jquery.js" tppabs="http://sass-lang.com/docs/yardoc/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="app.js" tppabs="http://sass-lang.com/docs/yardoc/js/app.js"></script>

  </head>
  <body>
    <script type="text/javascript" charset="utf-8">
      if (window.top.frames.main) document.body.className = 'frames';
    </script>
    
    <div id="header">
      <div id="menu">
  
    <a href="_index.html" tppabs="http://sass-lang.com/docs/yardoc/_index.html">Index (E)</a> &raquo; 
    <span class='title'><a href="Sass-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass.html" title="Sass (module)">Sass</a></span> &raquo; <span class='title'><a href="Tree.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree.html" title="Sass::Tree (module)">Tree</a></span>
     &raquo; 
    <span class="title">ExtendNode</span>
  
  
  <div class="noframes"><span class="title">(</span><a href="javascript:if(confirm(%27http://sass-lang.com/docs/yardoc/Sass/Tree/.  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?%27))window.location=%27http://sass-lang.com/docs/yardoc/Sass/Tree/.%27" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  <a id="class_list_link" href="#">Class List</a>
  <a id="method_list_link" href="#">Method List</a>
  <a id ="file_list_link" href="#">File List</a>
</div>

      <div class="clear"></div>
    </div>
    
    <iframe id="search_frame"></iframe>
    
    <div id="content"><h1>Class: Sass::Tree::ExtendNode 
  
  
</h1>

<dl class="box">
  
    <dt class="r1">Inherits:</dt>
    <dd class="r1">
      <span class="inheritName"><a href="Node.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html" title="Sass::Tree::Node (class)">Node</a></span>
      
        <ul class="fullTree">
          <li>Object</li>
          
            <li class="next"><a href="Node.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html" title="Sass::Tree::Node (class)">Node</a></li>
          
            <li class="next">Sass::Tree::ExtendNode</li>
          
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      
      </dd>
    
  
  
    
  
    
  
  
    <dt class="r2 last">Defined in:</dt>
    <dd class="r2 last">/var/www/sass-pages/.sass/lib/sass/tree/extend_node.rb</dd>
  
</dl>
<div class="clear"></div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    <p>A static node reprenting an <code>@extend</code> directive.</p>

  </div>
</div>
<div class="tags">
  
  <h3>See Also:</h3>
  <ul class="see">
    
      <li><a href="Tree.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree.html" title="Sass::Tree (module)">Sass::Tree</a></li>
    
  </ul>

</div>

  
  
  
  
  
  <h2>Instance Attribute Summary</h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#resolved_selector-instance_method" title="#resolved_selector (instance method)">- (Selector::CommaSequence) <strong>resolved_selector</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The parsed selector after interpolation has been resolved.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#selector-instance_method" title="#selector (instance method)">- (Array&lt;String, Sass::Script::Node&gt;) <strong>selector</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The CSS selector to extend, interspersed with <tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>s representing <code>#{}</code>-interpolation.</span>
  
</li>

    
  </ul>


  <h2>Instance Method Summary</h2>

  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#initialize-instance_method" title="#initialize (instance method)">- (ExtendNode) <strong>initialize</strong>(selector, optional) </a>
    

    
  </span>
  
    <span class="note title constructor">constructor</span>
  
  
  
  
  

  
    <span class="summary_desc">A new instance of ExtendNode.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#optional%3F-instance_method" title="#optional? (instance method)">- (Boolean) <strong>optional?</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Whether the <code>@extend</code> is allowed to match no selectors or not.</span>
  
</li>

    
  </ul>

  
  
  
  
  
  <h3 class="inherited">Methods inherited from <a href="Node.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html" title="Sass::Tree::Node (class)">Node</a></h3>
  <p class="inherited"><a href="Node.html#%3C%3C-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#%3C%3C-instance_method" title="Sass::Tree::Node#<< (method)">#<<</a>, <a href="Node.html#%3D%3D-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#%3D%3D-instance_method" title="Sass::Tree::Node#== (method)">#==</a>, <a href="Node.html#balance-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#balance-instance_method" title="Sass::Tree::Node#balance (method)">#balance</a>, <a href="Node.html#bubbles%3F-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#bubbles%3F-instance_method" title="Sass::Tree::Node#bubbles? (method)">#bubbles?</a>, <a href="Node.html#deep_copy-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#deep_copy-instance_method" title="Sass::Tree::Node#deep_copy (method)">#deep_copy</a>, <a href="Node.html#each-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#each-instance_method" title="Sass::Tree::Node#each (method)">#each</a>, <a href="Node.html#inspect-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#inspect-instance_method" title="Sass::Tree::Node#inspect (method)">#inspect</a>, <a href="Node.html#invisible%3F-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#invisible%3F-instance_method" title="Sass::Tree::Node#invisible? (method)">#invisible?</a>, <a href="Node.html#style-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#style-instance_method" title="Sass::Tree::Node#style (method)">#style</a>, <a href="Node.html#to_s-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#to_s-instance_method" title="Sass::Tree::Node#to_s (method)">#to_s</a>, <a href="Node.html#to_sass-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#to_sass-instance_method" title="Sass::Tree::Node#to_sass (method)">#to_sass</a>, <a href="Node.html#to_scss-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Node.html#to_scss-instance_method" title="Sass::Tree::Node#to_scss (method)">#to_scss</a></p>

  <div id="constructor_details" class="method_details_list">
  <h2>Constructor Details</h2>
  
    <div class="method_details first">
  <p class="signature first" id="initialize-instance_method">
  
    - (<tt><a href="" title="Sass::Tree::ExtendNode (class)">ExtendNode</a></tt>) <strong>initialize</strong>(selector, optional) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>A new instance of ExtendNode</p>

  </div>
</div>
<div class="tags">
  <h3>Parameters:</h3>
<ul class="param">
  
    <li>
      
        <span class='type'>(<tt>Array&lt;String, <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a>&gt;</tt>)</span>
      
      
        <span class='name'>selector</span>
      
      
      
        &mdash;
        The CSS selector to extend, interspersed with <tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>s representing <code>#{}</code>-interpolation.
      
    </li>
  
    <li>
      
        <span class='type'>(<tt>Boolean</tt>)</span>
      
      
        <span class='name'>optional</span>
      
      
      
        &mdash;
        See <tt>#optional</tt>
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


30
31
32
33
34</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/extend_node.rb', line 30</span>

def initialize(selector, optional)
  @selector = selector
  @optional = optional
  super()
end</pre>
    </td>
  </tr>
</table>
</div>
  
</div>

  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id="resolved_selector=-instance_method"></span>
      <span id="resolved_selector-instance_method"></span>
      <div class="method_details first">
  <p class="signature first" id="resolved_selector-instance_method">
  
    - (<tt><a href="CommaSequence.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/CommaSequence.html" title="Sass::Selector::CommaSequence (class)">Selector::CommaSequence</a></tt>) <strong>resolved_selector</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The parsed selector after interpolation has been resolved. Only set once <tt><a href="Perform.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Tree/Visitors/Perform.html" title="Sass::Tree::Visitors::Perform (class)">Tree::Visitors::Perform</a></tt> has been run.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt><a href="CommaSequence.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/CommaSequence.html" title="Sass::Selector::CommaSequence (class)">Selector::CommaSequence</a></tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


12
13
14</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/extend_node.rb', line 12</span>

def resolved_selector
  @resolved_selector
end</pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="selector=-instance_method"></span>
      <span id="selector-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="selector-instance_method">
  
    - (<tt>Array&lt;String, <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a>&gt;</tt>) <strong>selector</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The CSS selector to extend, interspersed with <tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>s representing <code>#{}</code>-interpolation.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Array&lt;String, <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a>&gt;</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


18
19
20</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/extend_node.rb', line 18</span>

def selector
  @selector
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


  <div id="instance_method_details" class="method_details_list">
    <h2>Instance Method Details</h2>
    
    
      <div class="method_details first">
  <p class="signature first" id="optional?-instance_method">
  
    - (<tt>Boolean</tt>) <strong>optional?</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Whether the <code>@extend</code> is allowed to match no selectors or not.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Boolean</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


23</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/tree/extend_node.rb', line 23</span>

def optional?; @optional end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>
    
    <div id="footer">
  Generated on Fri Mar  8 20:33:40 2013 by 
  <a href="javascript:if(confirm(%27http://yardoc.org/  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://yardoc.org/%27" tppabs="http://yardoc.org/" title="Yay! A Ruby Documentation Tool">yard</a>
  0.5.3 (ruby-1.8.7).
</div>


  <script type="text/javascript">
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </script>
  <script type="text/javascript">
  try {
  var pageTracker = _gat._getTracker("UA-535380-8");
  pageTracker._trackPageview();
  } catch(err) {}</script>


  </body>
</html>